package net.sk.china.city.mapper;

import java.util.List;
import net.sk.china.city.domain.ArDonationMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 捐赠中间Mapper接口
 * 
 * @author gxf
 * @date 2024-05-13
 */
public interface ArDonationMappingMapper extends BaseMapper<ArDonationMapping>
{
    /**
     * 查询捐赠中间
     * 
     * @param id 捐赠中间主键
     * @return 捐赠中间
     */
    public ArDonationMapping selectArDonationMappingById(Long id);

    /**
     * 查询捐赠中间列表
     * 
     * @param arDonationMapping 捐赠中间
     * @return 捐赠中间集合
     */
    public List<ArDonationMapping> selectArDonationMappingList(ArDonationMapping arDonationMapping);

    /**
     * 新增捐赠中间
     * 
     * @param arDonationMapping 捐赠中间
     * @return 结果
     */
    public int insertArDonationMapping(ArDonationMapping arDonationMapping);

    /**
     * 修改捐赠中间
     * 
     * @param arDonationMapping 捐赠中间
     * @return 结果
     */
    public int updateArDonationMapping(ArDonationMapping arDonationMapping);

    /**
     * 删除捐赠中间
     * 
     * @param id 捐赠中间主键
     * @return 结果
     */
    public int deleteArDonationMappingById(Long id);

    /**
     * 批量删除捐赠中间
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArDonationMappingByIds(Long[] ids);
}
